﻿using System;
using System.Net;
using System.Linq;
using System.Xml.Linq;

namespace RFW.Weather.WeatherFlash
{
	public class Wind
	{
		public string DirectionDescription { get; internal set; }
		public decimal Direction { get; internal set; }
		public decimal DirectionRate { get; internal set; }

		public decimal Speed { get; internal set; }
		public decimal SpeedRate { get; internal set; }
		public HighLow SpeedHigh { get; internal set; }
		public HighLow SpeedLow { get; internal set; }
	
		public decimal Gust { get; internal set; }
		public decimal GustRate { get; internal set; }
		public HighLow GustHigh { get; internal set; }
		public HighLow GustLow { get; internal set; }

		public decimal WindRun { get; internal set; }
		public decimal WindRunMonth { get; internal set; }
		public decimal WindRunYear { get; internal set; }


		public override string ToString()
		{
			return string.Format("{0:N2} {1}", this.Speed, this.DirectionDescription);
		}
	}
}
